Don't neglect to "return *this". git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@165860 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/string b/include/string index 7c022dc..89a00e5 100644 --- a/include/string +++ b/include/string 
@@ -2208,6 +2208,7 @@  clear();  for (; __first != __last; ++__first)  push_back(*__first); + return *this;  }    template <class _CharT, class _Traits, class _Allocator>